package trading.algo.initTask;

import java.util.TimerTask;

import trading.bo.IBAccessorBO;

public class HistoricalLowTask extends TimerTask {
	private IBAccessorBO ibAccessorBO;
	private String ticker;
	
	public HistoricalLowTask(String ticker, IBAccessorBO ibAccessorBO) {
		this.ticker = ticker;
		this.ibAccessorBO = ibAccessorBO;
	}
	
	public void run() {
		ibAccessorBO.reqHistoricalLowPriceAndDate(ticker);
	}
	
	public static int secondsNeeded() {
	    return 3;
	}
}